/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package continuity.View;

import continuity.Node;
import java.awt.Graphics;

/**
 *
 * @author Pifko
 */
public class NodeView {
    
    private Node node;
    private ElementView elementView;
    
    public NodeView(Node n, ElementView e){
        this.node = n;
        this.elementView = e;
    }
    
    void paintView(Graphics g){
        this.elementView.paintView(g);
     }
   
     boolean IsHere(int CharacterNumber){
         return this.node.getIsHere(CharacterNumber);
    }

}
